package com.orchard.xpz.utils;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @TaskCode:
 * @description: 封装分页
 * @author: minshuai.chen
 * @create: 2022/4/13 14:39
 **/
@Data
@NoArgsConstructor
public class PageInfo implements Serializable {

    private int pageNum;

    private int pageSize;
    private int size;
    private int startRow;
    private int endRow;
    private int pages;
    private int recordCounts;
    private int prePage;
    private int nextPage;
    private boolean isFirstPage = false;
    private boolean isLastPage = false;
    private String orderField;
    private String orderType;
}
